﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VLog
{
    /// <summary>
    /// 日志操作规范
    /// </summary>
    public interface IVLog
    {
        /// <summary>
        /// 调试型日志
        /// </summary>
        /// <param name="msg"></param>
        void Debug(string msg);
        /// <summary>
        /// 信息型日志
        /// </summary>
        /// <param name="msg"></param>
        void Info(string msg);
        /// <summary>
        /// 警告型日志
        /// </summary>
        /// <param name="msg"></param>
        void Warn(string msg);
        /// <summary>
        /// 错误型日志
        /// </summary>
        /// <param name="msg"></param>
        void Error(string msg);
        /// <summary>
        /// 系统崩溃型日志
        /// </summary>
        /// <param name="msg"></param>
        void Fatal(string msg);
    }
}
